/*******************************************************************************
 * Copyright (c) 2006 Ultimate Technology, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Bojan Vukojevic - initial API and implementation
 *******************************************************************************/
package com.ultimatetech.cim.views;

import javax.wbem.cim.CIMObjectPath;

import org.eclipse.core.runtime.IAdaptable;


public class TreeObject implements IAdaptable {
	String name;
	TreeParent parent;
	CIMObjectPath cop;
	public TreeObject(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	
	public void setParent(TreeParent parent) {
		this.parent = parent;
	}
	public TreeParent getParent() {
		return parent;
	}
	public String toString() {
		return getName();
	}
	public Object getAdapter(Class key) {
		return null;
	}
	public CIMObjectPath getCop() {
		return cop;
	}
	public void setCop(CIMObjectPath cop) {
		this.cop = cop;
	}
}